/**** Start onload Code ****/
var initFuncs = new Array();
function addOnloadHandler(func)
{
initFuncs[ initFuncs.length ] = func;
}
function initAll()
{
for(var i=0 ; i<initFuncs.length ; i++)
initFuncs[i]();
}
window.onload=initAll;
/**** End - onload code ***/



var request = false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
try {
  request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
  try {
    request = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (e2) {
    request = false;
  }
}
@end @*/
if (!request && typeof XMLHttpRequest != 'undefined')
{
	request = new XMLHttpRequest();
}

function getDescription(content)
{
	show = true; //flag for ShowContent to Display
	//if onmouseout calls HideContent show gets set to false
	/*the name of your page with the content goes here */
	var url = "getDescription.php?showit=" + escape(content);
	request.open("GET", url, true);
	request.onreadystatechange = go;
	request.send(null);
}

function go()
{
	if (request.readyState == 4)
	{
		if (request.status == 200)
		{
		var response = request.responseText;
		/* 'ItemDescDisplay' is the name of my div that will contain the info */
		document.getElementById("ItemDescDisplay").innerHTML = response;
		
		ShowContent('ItemDescDisplay');
		}
	}
}